package org.jeecg.modules.stReny.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 食堂人员
 * @Author: jeecg-boot
 * @Date:   2020-08-19
 * @Version: V1.0
 */
@Data
@TableName("hq_st_reny")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hq_st_reny对象", description="食堂人员")
public class HqStReny implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**所属营区*/
	@Excel(name = "所属营区", width = 15, dicCode = "ying_qu")
	@Dict(dicCode = "ying_qu")
    @ApiModelProperty(value = "所属营区")
    private String yingq;
	/**所属食堂*/
	@Excel(name = "所属食堂", width = 15, dictTable = "hq_st_st", dicText = "name", dicCode = "id")
	@Dict(dictTable = "hq_st_st", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属食堂")
    private String stStId;
	/**所属餐饮公司*/
	@Excel(name = "所属餐饮公司", width = 15, dicCode = "canygs")
	@Dict(dicCode = "canygs")
    @ApiModelProperty(value = "所属餐饮公司")
    private String canygsId;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String picture;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
	/**手机*/
	@Excel(name = "手机", width = 15)
    @ApiModelProperty(value = "手机")
    private String mbile;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15, dicCode = "card_type")
	@Dict(dicCode = "card_type")
    @ApiModelProperty(value = "证件类型")
    private String cardtype;
	/**证件编号*/
	@Excel(name = "证件编号", width = 15)
    @ApiModelProperty(value = "证件编号")
    private String cardno;
	/**健康证*/
	@Excel(name = "健康证", width = 15)
    @ApiModelProperty(value = "健康证")
    private String jiankz;
	/**职位*/
	@Excel(name = "职位", width = 15, dicCode = "st_position")
	@Dict(dicCode = "st_position")
    @ApiModelProperty(value = "职位")
    private String position;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private String age;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private String sex;
	/**工资*/
	@Excel(name = "工资", width = 15)
    @ApiModelProperty(value = "工资")
    private Double gongz;
	/**体检日期*/
	@Excel(name = "体检日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "体检日期")
    private Date tijrq;
}
